<?php



class RingtoneStatusMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.RingtoneStatusMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('ringtone_status');
		$tMap->setPhpName('RingtoneStatus');

		$tMap->setUseIdGenerator(false);

		$tMap->addForeignPrimaryKey('RINGTONE_ID', 'RingtoneId', 'int' , CreoleTypes::INTEGER, 'ringtone', 'ID', true, null);

		$tMap->addColumn('RT_APPROVE', 'RtApprove', 'int', CreoleTypes::TINYINT, false, null);

		$tMap->addColumn('RT_APPROVE_DATETIME', 'RtApproveDatetime', 'int', CreoleTypes::TIMESTAMP, false, null);

		$tMap->addColumn('RT_APPROVE_ADMIN', 'RtApproveAdmin', 'string', CreoleTypes::VARCHAR, false, 50);

		$tMap->addColumn('RT_APPROVE_DESCRIPTION', 'RtApproveDescription', 'string', CreoleTypes::VARCHAR, false, 500);

		$tMap->addColumn('RBT_APPROVE', 'RbtApprove', 'int', CreoleTypes::TINYINT, false, null);

		$tMap->addColumn('RBT_APPROVE_DATETIME', 'RbtApproveDatetime', 'int', CreoleTypes::TIMESTAMP, false, null);

		$tMap->addColumn('RBT_APPROVE_ADMIN', 'RbtApproveAdmin', 'string', CreoleTypes::VARCHAR, false, 50);

		$tMap->addColumn('RBT_APPROVE_DESCRIPTION', 'RbtApproveDescription', 'string', CreoleTypes::VARCHAR, false, 500);

		$tMap->addColumn('RT_DELETE', 'RtDelete', 'int', CreoleTypes::TINYINT, false, null);

		$tMap->addColumn('RT_DELETE_DATETIME', 'RtDeleteDatetime', 'int', CreoleTypes::TIMESTAMP, false, null);

		$tMap->addColumn('RT_DELETE_ADMIN', 'RtDeleteAdmin', 'string', CreoleTypes::VARCHAR, false, 50);

		$tMap->addColumn('RT_DELETE_DESCRIPTION', 'RtDeleteDescription', 'string', CreoleTypes::VARCHAR, false, 500);

		$tMap->addColumn('RBT_DELETE', 'RbtDelete', 'int', CreoleTypes::TINYINT, false, null);

		$tMap->addColumn('RBT_DELETE_DATETIME', 'RbtDeleteDatetime', 'int', CreoleTypes::TIMESTAMP, false, null);

		$tMap->addColumn('RBT_DELETE_ADMIN', 'RbtDeleteAdmin', 'string', CreoleTypes::VARCHAR, false, 50);

		$tMap->addColumn('RBT_DELETE_DESCRIPTION', 'RbtDeleteDescription', 'string', CreoleTypes::VARCHAR, false, 500);

	} 
} 